.class public Lcom/estrongs/android/taskmanager/c/b;
.super Ljava/lang/Object;


# instance fields
.field public final a:I

.field public final b:I

.field public c:I

.field public d:Ljava/lang/Object;

.field public e:Ljava/lang/Object;

.field private final f:I

.field private final g:I

.field private h:Ljava/lang/String;

.field private i:Ljava/lang/String;

.field private j:Ljava/lang/String;

.field private k:Lcom/estrongs/android/taskmanager/c/d;

.field private l:J

.field private m:J

.field private n:Ljava/lang/Object;

.field private o:Ljava/lang/Thread;

.field private p:Z

.field private q:Ljava/lang/String;

.field private r:[Ljava/lang/Object;


# direct methods
.method public constructor <init>(Ljava/lang/String;)V
    .locals 4

    const/4 v3, 0x0

    const/4 v2, 0x0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/16 v0, 0x4e20

    iput v0, p0, Lcom/estrongs/android/taskmanager/c/b;->f:I

    const v0, 0xea60

    iput v0, p0, Lcom/estrongs/android/taskmanager/c/b;->g:I

    iput v3, p0, Lcom/estrongs/android/taskmanager/c/b;->a:I

    const/4 v0, 0x1

    iput v0, p0, Lcom/estrongs/android/taskmanager/c/b;->b:I

    iput v3, p0, Lcom/estrongs/android/taskmanager/c/b;->c:I

    iput-object v2, p0, Lcom/estrongs/android/taskmanager/c/b;->h:Ljava/lang/String;

    iput-object v2, p0, Lcom/estrongs/android/taskmanager/c/b;->i:Ljava/lang/String;

    iput-object v2, p0, Lcom/estrongs/android/taskmanager/c/b;->j:Ljava/lang/String;

    iput-object v2, p0, Lcom/estrongs/android/taskmanager/c/b;->k:Lcom/estrongs/android/taskmanager/c/d;

    const-wide/16 v0, -0x1

    iput-wide v0, p0, Lcom/estrongs/android/taskmanager/c/b;->l:J

    const-wide/16 v0, 0x0

    iput-wide v0, p0, Lcom/estrongs/android/taskmanager/c/b;->m:J

    iput-object v2, p0, Lcom/estrongs/android/taskmanager/c/b;->n:Ljava/lang/Object;

    iput-object v2, p0, Lcom/estrongs/android/taskmanager/c/b;->o:Ljava/lang/Thread;

    iput-boolean v3, p0, Lcom/estrongs/android/taskmanager/c/b;->p:Z

    iput-object v2, p0, Lcom/estrongs/android/taskmanager/c/b;->d:Ljava/lang/Object;

    iput-object v2, p0, Lcom/estrongs/android/taskmanager/c/b;->e:Ljava/lang/Object;

    const-string v0, "GET"

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/c/b;->q:Ljava/lang/String;

    iput-object v2, p0, Lcom/estrongs/android/taskmanager/c/b;->r:[Ljava/lang/Object;

    iput-object p1, p0, Lcom/estrongs/android/taskmanager/c/b;->i:Ljava/lang/String;

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/taskmanager/c/b;)V
    .locals 0

    invoke-direct {p0}, Lcom/estrongs/android/taskmanager/c/b;->g()V

    return-void
.end method

.method private f()V
    .locals 1

    new-instance v0, Lcom/estrongs/android/taskmanager/c/c;

    invoke-direct {v0, p0}, Lcom/estrongs/android/taskmanager/c/c;-><init>(Lcom/estrongs/android/taskmanager/c/b;)V

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/c/b;->o:Ljava/lang/Thread;

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/c/b;->o:Ljava/lang/Thread;

    invoke-virtual {v0}, Ljava/lang/Thread;->start()V

    return-void
.end method

.method private g()V
    .locals 13

    const/4 v12, 0x1

    const/4 v1, 0x0

    const/4 v9, 0x0

    const-wide/16 v10, 0x0

    :try_start_0
    new-instance v2, Ljava/net/URL;

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/c/b;->i:Ljava/lang/String;

    invoke-direct {v2, v0}, Ljava/net/URL;-><init>(Ljava/lang/String;)V

    iget v0, p0, Lcom/estrongs/android/taskmanager/c/b;->c:I

    if-nez v0, :cond_1b

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/c/b;->j:Ljava/lang/String;

    if-eqz v0, :cond_1b

    new-instance v0, Ljava/io/File;

    iget-object v3, p0, Lcom/estrongs/android/taskmanager/c/b;->j:Ljava/lang/String;

    invoke-direct {v0, v3}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    move-object v3, v0

    :goto_0
    invoke-virtual {v2}, Ljava/net/URL;->openConnection()Ljava/net/URLConnection;

    move-result-object v0

    check-cast v0, Ljava/net/HttpURLConnection;

    const/16 v2, 0x4e20

    invoke-virtual {v0, v2}, Ljava/net/HttpURLConnection;->setConnectTimeout(I)V

    const v2, 0xea60

    invoke-virtual {v0, v2}, Ljava/net/HttpURLConnection;->setReadTimeout(I)V

    iget-object v2, p0, Lcom/estrongs/android/taskmanager/c/b;->q:Ljava/lang/String;

    invoke-virtual {v0, v2}, Ljava/net/HttpURLConnection;->setRequestMethod(Ljava/lang/String;)V

    iget v2, p0, Lcom/estrongs/android/taskmanager/c/b;->c:I

    if-nez v2, :cond_6

    if-eqz v3, :cond_6

    iget-wide v4, p0, Lcom/estrongs/android/taskmanager/c/b;->m:J

    cmp-long v2, v4, v10

    if-lez v2, :cond_6

    invoke-virtual {v3}, Ljava/io/File;->length()J

    move-result-wide v4

    cmp-long v2, v4, v10

    if-lez v2, :cond_6

    invoke-virtual {v3}, Ljava/io/File;->length()J

    move-result-wide v4

    iput-wide v4, p0, Lcom/estrongs/android/taskmanager/c/b;->m:J

    const-string v2, "Range"

    new-instance v4, Ljava/lang/StringBuilder;

    const-string v5, "bytes="

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-wide v5, p0, Lcom/estrongs/android/taskmanager/c/b;->m:J

    invoke-virtual {v4, v5, v6}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, "-"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v0, v2, v4}, Ljava/net/HttpURLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V

    :goto_1
    iget-object v2, p0, Lcom/estrongs/android/taskmanager/c/b;->r:[Ljava/lang/Object;

    if-eqz v2, :cond_0

    move v2, v9

    :goto_2
    iget-object v4, p0, Lcom/estrongs/android/taskmanager/c/b;->r:[Ljava/lang/Object;

    array-length v4, v4

    if-lt v2, v4, :cond_9

    :cond_0
    const-string v2, "Cache-Control"

    const-string v4, "no-cache"

    invoke-virtual {v0, v2, v4}, Ljava/net/HttpURLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V

    const-string v2, "Pragma"

    const-string v4, "no-cache"

    invoke-virtual {v0, v2, v4}, Ljava/net/HttpURLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V

    const-string v2, "Accept-Encoding"

    const-string v4, "identity"

    invoke-virtual {v0, v2, v4}, Ljava/net/HttpURLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V

    const/4 v2, 0x1

    invoke-virtual {v0, v2}, Ljava/net/HttpURLConnection;->setDoOutput(Z)V

    invoke-virtual {v0}, Ljava/net/HttpURLConnection;->connect()V

    iget-object v2, p0, Lcom/estrongs/android/taskmanager/c/b;->k:Lcom/estrongs/android/taskmanager/c/d;

    if-eqz v2, :cond_1

    iget-object v2, p0, Lcom/estrongs/android/taskmanager/c/b;->k:Lcom/estrongs/android/taskmanager/c/d;

    iget-object v4, p0, Lcom/estrongs/android/taskmanager/c/b;->n:Ljava/lang/Object;

    invoke-interface {v2, v4}, Lcom/estrongs/android/taskmanager/c/d;->a(Ljava/lang/Object;)V

    :cond_1
    iget-wide v4, p0, Lcom/estrongs/android/taskmanager/c/b;->m:J

    cmp-long v2, v4, v10

    if-nez v2, :cond_2

    if-eqz v3, :cond_2

    invoke-virtual {v3}, Ljava/io/File;->delete()Z

    invoke-virtual {v3}, Ljava/io/File;->createNewFile()Z

    :cond_2
    if-eqz v3, :cond_1a

    new-instance v2, Ljava/io/RandomAccessFile;

    const-string v4, "rw"

    invoke-direct {v2, v3, v4}, Ljava/io/RandomAccessFile;-><init>(Ljava/io/File;Ljava/lang/String;)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :try_start_1
    iget-wide v3, p0, Lcom/estrongs/android/taskmanager/c/b;->m:J

    invoke-virtual {v2, v3, v4}, Ljava/io/RandomAccessFile;->seek(J)V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_7

    move-object v7, v2

    :goto_3
    :try_start_2
    iget-boolean v2, p0, Lcom/estrongs/android/taskmanager/c/b;->p:Z

    if-eqz v2, :cond_a

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/c/b;->k:Lcom/estrongs/android/taskmanager/c/d;

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/c/b;->k:Lcom/estrongs/android/taskmanager/c/d;

    iget-object v2, p0, Lcom/estrongs/android/taskmanager/c/b;->n:Ljava/lang/Object;

    new-instance v3, Ljava/lang/Exception;

    const-string v4, "UserCannelled"

    invoke-direct {v3, v4}, Ljava/lang/Exception;-><init>(Ljava/lang/String;)V

    invoke-interface {v0, v2, v3}, Lcom/estrongs/android/taskmanager/c/d;->a(Ljava/lang/Object;Ljava/lang/Throwable;)V
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_8

    :cond_3
    :goto_4
    if-eqz v7, :cond_4

    :try_start_3
    invoke-virtual {v7}, Ljava/io/RandomAccessFile;->close()V

    :cond_4
    if-eqz v1, :cond_5

    invoke-virtual {v1}, Ljava/io/InputStream;->close()V
    :try_end_3
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_2

    :cond_5
    :goto_5
    return-void

    :cond_6
    const-wide/16 v4, 0x0

    :try_start_4
    iput-wide v4, p0, Lcom/estrongs/android/taskmanager/c/b;->m:J
    :try_end_4
    .catchall {:try_start_4 .. :try_end_4} :catchall_0
    .catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_0

    goto :goto_1

    :catch_0
    move-exception v0

    move-object v2, v1

    :goto_6
    :try_start_5
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    iget-object v3, p0, Lcom/estrongs/android/taskmanager/c/b;->k:Lcom/estrongs/android/taskmanager/c/d;

    if-eqz v3, :cond_7

    iget-object v3, p0, Lcom/estrongs/android/taskmanager/c/b;->k:Lcom/estrongs/android/taskmanager/c/d;

    iget-object v4, p0, Lcom/estrongs/android/taskmanager/c/b;->n:Ljava/lang/Object;

    invoke-interface {v3, v4, v0}, Lcom/estrongs/android/taskmanager/c/d;->a(Ljava/lang/Object;Ljava/lang/Throwable;)V
    :try_end_5
    .catchall {:try_start_5 .. :try_end_5} :catchall_1

    :cond_7
    if-eqz v2, :cond_8

    :try_start_6
    invoke-virtual {v2}, Ljava/io/RandomAccessFile;->close()V

    :cond_8
    if-eqz v1, :cond_5

    invoke-virtual {v1}, Ljava/io/InputStream;->close()V
    :try_end_6
    .catch Ljava/lang/Exception; {:try_start_6 .. :try_end_6} :catch_1

    goto :goto_5

    :catch_1
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_5

    :cond_9
    :try_start_7
    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v5, p0, Lcom/estrongs/android/taskmanager/c/b;->r:[Ljava/lang/Object;

    add-int/lit8 v6, v2, 0x0

    aget-object v5, v5, v6

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v6, p0, Lcom/estrongs/android/taskmanager/c/b;->r:[Ljava/lang/Object;

    add-int/lit8 v7, v2, 0x1

    aget-object v6, v6, v7

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v0, v4, v5}, Ljava/net/HttpURLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V
    :try_end_7
    .catchall {:try_start_7 .. :try_end_7} :catchall_0
    .catch Ljava/lang/Exception; {:try_start_7 .. :try_end_7} :catch_0

    add-int/lit8 v2, v2, 0x2

    goto/16 :goto_2

    :catch_2
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_5

    :cond_a
    :try_start_8
    invoke-virtual {v0}, Ljava/net/HttpURLConnection;->getInputStream()Ljava/io/InputStream;
    :try_end_8
    .catchall {:try_start_8 .. :try_end_8} :catchall_2
    .catch Ljava/lang/Exception; {:try_start_8 .. :try_end_8} :catch_8

    move-result-object v6

    :try_start_9
    invoke-virtual {v0}, Ljava/net/HttpURLConnection;->getContentLength()I

    move-result v0

    int-to-long v0, v0

    iget-wide v2, p0, Lcom/estrongs/android/taskmanager/c/b;->m:J

    add-long/2addr v0, v2

    iput-wide v0, p0, Lcom/estrongs/android/taskmanager/c/b;->l:J

    iget-wide v0, p0, Lcom/estrongs/android/taskmanager/c/b;->l:J

    cmp-long v0, v0, v10

    if-gez v0, :cond_b

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/c/b;->k:Lcom/estrongs/android/taskmanager/c/d;

    if-eqz v0, :cond_b

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/c/b;->k:Lcom/estrongs/android/taskmanager/c/d;

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/c/b;->n:Ljava/lang/Object;

    new-instance v2, Ljava/lang/Exception;

    const-string v3, "error"

    invoke-direct {v2, v3}, Ljava/lang/Exception;-><init>(Ljava/lang/String;)V

    invoke-interface {v0, v1, v2}, Lcom/estrongs/android/taskmanager/c/d;->a(Ljava/lang/Object;Ljava/lang/Throwable;)V

    move-object v1, v6

    goto/16 :goto_4

    :cond_b
    const/4 v0, 0x0

    check-cast v0, [B

    iget v0, p0, Lcom/estrongs/android/taskmanager/c/b;->c:I

    if-ne v0, v12, :cond_11

    iget-wide v0, p0, Lcom/estrongs/android/taskmanager/c/b;->l:J

    long-to-int v0, v0

    new-array v0, v0, [B

    move-object v10, v0

    :goto_7
    iget-object v0, p0, Lcom/estrongs/android/taskmanager/c/b;->k:Lcom/estrongs/android/taskmanager/c/d;

    if-eqz v0, :cond_c

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/c/b;->k:Lcom/estrongs/android/taskmanager/c/d;

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/c/b;->n:Ljava/lang/Object;

    iget-wide v2, p0, Lcom/estrongs/android/taskmanager/c/b;->l:J

    iget-wide v4, p0, Lcom/estrongs/android/taskmanager/c/b;->m:J

    invoke-interface/range {v0 .. v5}, Lcom/estrongs/android/taskmanager/c/d;->a(Ljava/lang/Object;JJ)V

    :cond_c
    move v8, v9

    :cond_d
    :goto_8
    array-length v0, v10

    sub-int/2addr v0, v8

    invoke-virtual {v6, v10, v8, v0}, Ljava/io/InputStream;->read([BII)I

    move-result v1

    if-lez v1, :cond_e

    iget-wide v2, p0, Lcom/estrongs/android/taskmanager/c/b;->m:J

    iget-wide v4, p0, Lcom/estrongs/android/taskmanager/c/b;->l:J

    cmp-long v0, v2, v4

    if-gez v0, :cond_e

    iget-boolean v0, p0, Lcom/estrongs/android/taskmanager/c/b;->p:Z

    if-eqz v0, :cond_12

    :cond_e
    iget-boolean v0, p0, Lcom/estrongs/android/taskmanager/c/b;->p:Z

    if-eqz v0, :cond_14

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/c/b;->k:Lcom/estrongs/android/taskmanager/c/d;

    if-eqz v0, :cond_f

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/c/b;->k:Lcom/estrongs/android/taskmanager/c/d;

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/c/b;->n:Ljava/lang/Object;

    new-instance v2, Ljava/lang/Exception;

    const-string v3, "UserCannelled"

    invoke-direct {v2, v3}, Ljava/lang/Exception;-><init>(Ljava/lang/String;)V

    invoke-interface {v0, v1, v2}, Lcom/estrongs/android/taskmanager/c/d;->a(Ljava/lang/Object;Ljava/lang/Throwable;)V
    :try_end_9
    .catchall {:try_start_9 .. :try_end_9} :catchall_3
    .catch Ljava/lang/Exception; {:try_start_9 .. :try_end_9} :catch_4

    :cond_f
    if-eqz v7, :cond_10

    :try_start_a
    invoke-virtual {v7}, Ljava/io/RandomAccessFile;->close()V

    :cond_10
    if-eqz v6, :cond_5

    invoke-virtual {v6}, Ljava/io/InputStream;->close()V
    :try_end_a
    .catch Ljava/lang/Exception; {:try_start_a .. :try_end_a} :catch_3

    goto/16 :goto_5

    :catch_3
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto/16 :goto_5

    :cond_11
    const/16 v0, 0x4000

    :try_start_b
    new-array v0, v0, [B

    move-object v10, v0

    goto :goto_7

    :cond_12
    if-eqz v7, :cond_13

    const/4 v0, 0x0

    invoke-virtual {v7, v10, v0, v1}, Ljava/io/RandomAccessFile;->write([BII)V

    move v8, v9

    :goto_9
    iget-wide v2, p0, Lcom/estrongs/android/taskmanager/c/b;->m:J

    int-to-long v0, v1

    add-long/2addr v0, v2

    iput-wide v0, p0, Lcom/estrongs/android/taskmanager/c/b;->m:J

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/c/b;->k:Lcom/estrongs/android/taskmanager/c/d;

    if-eqz v0, :cond_d

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/c/b;->k:Lcom/estrongs/android/taskmanager/c/d;

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/c/b;->n:Ljava/lang/Object;

    iget-wide v2, p0, Lcom/estrongs/android/taskmanager/c/b;->l:J

    iget-wide v4, p0, Lcom/estrongs/android/taskmanager/c/b;->m:J

    invoke-interface/range {v0 .. v5}, Lcom/estrongs/android/taskmanager/c/d;->a(Ljava/lang/Object;JJ)V

    goto :goto_8

    :catch_4
    move-exception v0

    move-object v1, v6

    move-object v2, v7

    goto/16 :goto_6

    :cond_13
    add-int v0, v8, v1

    move v8, v0

    goto :goto_9

    :cond_14
    iget v0, p0, Lcom/estrongs/android/taskmanager/c/b;->c:I

    if-ne v0, v12, :cond_15

    new-instance v0, Ljava/lang/String;

    invoke-direct {v0, v10}, Ljava/lang/String;-><init>([B)V

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/c/b;->h:Ljava/lang/String;

    :cond_15
    iget-object v0, p0, Lcom/estrongs/android/taskmanager/c/b;->k:Lcom/estrongs/android/taskmanager/c/d;

    if-eqz v0, :cond_16

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/c/b;->k:Lcom/estrongs/android/taskmanager/c/d;

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/c/b;->n:Ljava/lang/Object;

    invoke-interface {v0, v1}, Lcom/estrongs/android/taskmanager/c/d;->b(Ljava/lang/Object;)V
    :try_end_b
    .catchall {:try_start_b .. :try_end_b} :catchall_3
    .catch Ljava/lang/Exception; {:try_start_b .. :try_end_b} :catch_4

    :cond_16
    if-eqz v7, :cond_17

    :try_start_c
    invoke-virtual {v7}, Ljava/io/RandomAccessFile;->close()V

    :cond_17
    if-eqz v6, :cond_5

    invoke-virtual {v6}, Ljava/io/InputStream;->close()V
    :try_end_c
    .catch Ljava/lang/Exception; {:try_start_c .. :try_end_c} :catch_5

    goto/16 :goto_5

    :catch_5
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto/16 :goto_5

    :catchall_0
    move-exception v0

    move-object v7, v1

    :goto_a
    if-eqz v7, :cond_18

    :try_start_d
    invoke-virtual {v7}, Ljava/io/RandomAccessFile;->close()V

    :cond_18
    if-eqz v1, :cond_19

    invoke-virtual {v1}, Ljava/io/InputStream;->close()V
    :try_end_d
    .catch Ljava/lang/Exception; {:try_start_d .. :try_end_d} :catch_6

    :cond_19
    :goto_b
    throw v0

    :catch_6
    move-exception v1

    invoke-virtual {v1}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_b

    :catchall_1
    move-exception v0

    move-object v7, v2

    goto :goto_a

    :catchall_2
    move-exception v0

    goto :goto_a

    :catchall_3
    move-exception v0

    move-object v1, v6

    goto :goto_a

    :catch_7
    move-exception v0

    goto/16 :goto_6

    :catch_8
    move-exception v0

    move-object v2, v7

    goto/16 :goto_6

    :cond_1a
    move-object v7, v1

    goto/16 :goto_3

    :cond_1b
    move-object v3, v1

    goto/16 :goto_0
.end method


# virtual methods
.method public a()V
    .locals 3

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/estrongs/android/taskmanager/c/b;->p:Z

    :try_start_0
    iget-object v0, p0, Lcom/estrongs/android/taskmanager/c/b;->o:Ljava/lang/Thread;

    const-wide/16 v1, 0x3e8

    invoke-virtual {v0, v1, v2}, Ljava/lang/Thread;->join(J)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    return-void

    :catch_0
    move-exception v0

    goto :goto_0
.end method

.method public a(Lcom/estrongs/android/taskmanager/c/d;)V
    .locals 0

    iput-object p1, p0, Lcom/estrongs/android/taskmanager/c/b;->k:Lcom/estrongs/android/taskmanager/c/d;

    return-void
.end method

.method public a(Ljava/lang/Object;)V
    .locals 0

    iput-object p1, p0, Lcom/estrongs/android/taskmanager/c/b;->n:Ljava/lang/Object;

    return-void
.end method

.method public a(Ljava/lang/String;)V
    .locals 2

    :try_start_0
    new-instance v0, Ljava/io/File;

    invoke-static {p1}, Lcom/estrongs/android/taskmanager/c/e;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/io/File;->mkdirs()Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    iput-object p1, p0, Lcom/estrongs/android/taskmanager/c/b;->j:Ljava/lang/String;

    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0
.end method

.method public b()V
    .locals 2

    const-wide/16 v0, 0x0

    iput-wide v0, p0, Lcom/estrongs/android/taskmanager/c/b;->m:J

    invoke-direct {p0}, Lcom/estrongs/android/taskmanager/c/b;->f()V

    return-void
.end method

.method public c()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/c/b;->h:Ljava/lang/String;

    return-object v0
.end method

.method public d()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/c/b;->j:Ljava/lang/String;

    return-object v0
.end method

.method public e()Z
    .locals 1

    iget-boolean v0, p0, Lcom/estrongs/android/taskmanager/c/b;->p:Z

    return v0
.end method
